import request from '@/config/axios'
// 获得产品教学类型列表
export const getShopList = (params: any) => {
  return request.get({ url: '/after/sales/shop/list', params })
}
// 创建产品教学类型信息
export const createShop = (data: any) => {
  return request.post({ url: '/after/sales/shop/create', data })
}
// 获取产品教学类型信息
export const getShop = (id: any) => {
  return request.get({ url: `/after/sales/shop/${id}` })
}
// 修改产品教学类型信息
export const updateShop = (data: any) => {
  return request.put({ url: '/after/sales/shop/update', data })
}
// 删除产品教学类型信息
export const deleteShop = (id: any) => {
  return request.delete({ url: `/after/sales/shop/${id}` })
}
